<?php

namespace App\Http\Requests\Api;

class CompanyJobStatusRequest extends ApiRequest
{
    //更新职位状态
    public function rules()
    {
        return [
            'id' => 'bail|required|integer',
            'job_status' => 'bail|required|integer|in:1,2,4',
        ];
    }

    public function attributes()
    {
        return [
            'job_status'=>'职位状态'
        ];
    }
}
